<!DOCTYPE HTML>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<div th:fragment="detail-header">
	<div class="col-sm-12">
		<div class="detail-page-header">

			<h2>重要客户详情</h2>
			<div class="btn-group-xs" role="group">
				<a class="btn btn-success btn-edit" th:onclick="'$.modal.openTab(\'编辑重要客户\', \'/biz/importantCustomer/edit/' + ${importantCustomerInfo.id} + '\')'" shiro:hasPermission="biz:pmd:edit">
					<i class="fa fa-edit"></i> 编辑
				</a>
			</div>
		</div>

		<input name="id" autocomplete="off"  class="form-control" type="hidden" maxlength="30" th:field="${importantCustomerInfo.id}" readonly>

		<table class="table table-bordered">
			<tbody>
			<tr>
				<td class="tlabel" width="150">id</td>
				<td width="35%" th:text="${importantCustomerInfo.id}"></td>
				<td class="tlabel" width="150">客户名称：</td>
				<td width="35%">
					<span th:text="${importantCustomerInfo.customerName}"></span>
				</td>
			</tr>
			<tr>
				<td class="tlabel">重要等级：</td>
				<td>
					<span th:text="${importantCustomerInfo.importantLevel}"></span>
				</td>
				<td class="tlabel">备注：</td>
				<td>
					<span th:text="${importantCustomerInfo.remark}"></span>
				</td>
			</tr>
			<tr>
				<td class="tlabel">创建人：</td>
				<td>
					<span th:text="${importantCustomerInfo.createBy}"></span>
				</td>
				<td class="tlabel">修改人：</td>
				<td>
					<span th:text="${importantCustomerInfo.updateBy}"></span>
				</td>
			</tr>
			<tr>
				<td class="tlabel">联系方式：</td>
				<td>
					<span th:text="${importantCustomerInfo.telephoneNumber}"></span>
				</td>
				<td class="tlabel">地理坐标位置：</td>
				<td>
					<span th:text="${importantCustomerInfo.gisLocation}"></span>
				</td>
			</tr>
			<tr>
				<td class="tlabel">删除标志：</td>
				<td th:if="${ importantCustomerInfo.isDeleted == '1' }" class="color-red">
					已删除
				</td>
				<td th:if="${ importantCustomerInfo.isDeleted == '0' }" class="color-green">
					未删除
				</td>
				<td class="tlabel">是否有效：</td>
				<td th:if="${ importantCustomerInfo.isValid == '1' }" class="color-green">
					有效
				</td>
				<td th:if="${ importantCustomerInfo.isValid == '0' }" class="color-red">
					无效
				</td>
			</tr>
			</tbody>
		</table>
	</div>

</div>

